<?php
namespace app\controllers;
class TestController extends MainController
{
    /**
     * Not Found Page
     */
    public function actionError()
    {
        echo "Not Found Page:";
        echo "404";
    }    
    public function actionIndex(){
        $string = $this->rand_str(32);
        return $this->render('/test/index',['str'=>$string]);
    }    
    public function actionTest(){
        $s = $this->rand_str(16);
        return $this->render('/test/test',['str'=>$s]);
    }
    
}
